﻿using ICSharpCode.SharpZipLib.Zip;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;

namespace NP.BPMReportPlatform.MaterialMasterData
{
    public class StringDataSource : IStaticDataSource
    {

        public byte[] byteFile { get; set; }

        public StringDataSource(byte[] bt)
        {
            this.byteFile = bt;
        }

        public Stream GetSource()
        {
            Stream s = new MemoryStream(byteFile);
            return s;
        }
    }
}
